-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
23 changed files
with
5,649 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Project: nfsuserver | ||
# Makefile created by Dev-C++ 4.9.5.0 | ||
|
||
CC = g++ | ||
WINDRES = windres.exe | ||
RES = | ||
OBJ = nfsuserver2.o objects.o server.o $(RES) | ||
LIBS = -L"/lib" -lpthread | ||
INCS = #-I "." | ||
BIN = nfsuserver | ||
CFLAGS = $(INCS) -s -O2 -fexpensive-optimizations | ||
|
||
.PHONY: all all-before all-after clean clean-custom | ||
|
||
all: all-before nfsuserver all-after | ||
|
||
|
||
clean: clean-custom | ||
rm -f $(OBJ) $(BIN) | ||
|
||
$(BIN): $(OBJ) | ||
$(CC) $(OBJ) -o "nfsuserver" $(LIBS) $(CFLAGS) | ||
|
||
nfsuserver2.o: nfsuserver2.cpp | ||
$(CC) -c nfsuserver2.cpp -o nfsuserver2.o $(CFLAGS) | ||
|
||
server.o: server.cpp | ||
$(CC) -c server.cpp -o server.o $(CFLAGS) | ||
|
||
objects.o: objects.cpp | ||
$(CC) -c objects.cpp -o objects.o $(CFLAGS) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Project: nfsuserver | ||
# Makefile created by Dev-C++ 4.9.5.0 | ||
|
||
CC = g++ | ||
WINDRES = windres.exe | ||
RES = | ||
OBJ = nfsuserver2.o objects.o server.o $(RES) | ||
LIBS = -L/usr/lib -L/usr/local/lib -llthread | ||
INCS = -I/usr/local/include/pthread/linuxthreads | ||
BIN = nfsuserver | ||
CFLAGS = $(INCS) -s -O2 -fexpensive-optimizations | ||
|
||
.PHONY: all all-before all-after clean clean-custom | ||
|
||
all: all-before nfsuserver all-after | ||
|
||
|
||
clean: clean-custom | ||
rm -f $(OBJ) $(BIN); echo $(LIBS) | ||
|
||
$(BIN): test_for_linuxthreads $(OBJ) | ||
$(CC) $(OBJ) -o $(BIN) $(LIBS) $(CFLAGS) | ||
|
||
nfsuserver2.o: nfsuserver2.cpp | ||
$(CC) -c nfsuserver2.cpp -o nfsuserver2.o $(CFLAGS) | ||
|
||
server.o: server.cpp | ||
$(CC) -c server.cpp -o server.o $(CFLAGS) | ||
|
||
objects.o: objects.cpp | ||
$(CC) -c objects.cpp -o objects.o $(CFLAGS) | ||
|
||
test_for_linuxthreads: | ||
@if [ ! -f /usr/local/include/pthread/linuxthreads/pthread.h ]; then echo --- linuxthreads not found; echo --- Please install port /usr/ports/devel/linuxthreads; exit 1; fi | ||
|
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
//{{NO_DEPENDENCIES}} | ||
// Microsoft Visual C++ generated include file. | ||
// Used by client.rc | ||
// | ||
#define IDC_MYICON 2 | ||
#define IDD_DX1_DIALOG 102 | ||
#define IDS_APP_TITLE 103 | ||
#define IDM_ABOUT 104 | ||
#define IDM_EXIT 105 | ||
#define IDI_DX1 107 | ||
#define IDC_DX1 109 | ||
#define IDR_MAINFRAME 128 | ||
#define IDD_DIALOG1 129 | ||
#define IDD_MAIN 129 | ||
#define IDI_MAIN 130 | ||
#define IDD_DIALOG2 131 | ||
#define IDD_ADD 131 | ||
#define IDC_IPADDRESS1 1000 | ||
#define IDC_IP 1000 | ||
#define IDC_BUTTON1 1001 | ||
#define IDC_LAN 1002 | ||
#define IDC_EDIT1 1003 | ||
#define IDC_REFRESH 1003 | ||
#define IDC_TREE1 1004 | ||
#define IDC_ADD 1004 | ||
#define IDC_SERVERLIST 1005 | ||
#define IDC_FIND 1006 | ||
#define IDC_CHECK1 1007 | ||
#define IDC_ADD2 1007 | ||
#define IDC_GETLIST 1007 | ||
#define IDC_DELETE 1008 | ||
#define IDC_CHECK2 1009 | ||
#define IDC_ADDR 1010 | ||
#define IDC_CANCEL 1011 | ||
#define IDC_OK 1012 | ||
#define IDC_STATIC -1 | ||
|
||
// Next default values for new objects | ||
// | ||
#ifdef APSTUDIO_INVOKED | ||
#ifndef APSTUDIO_READONLY_SYMBOLS | ||
#define _APS_NO_MFC 1 | ||
#define _APS_NEXT_RESOURCE_VALUE 132 | ||
#define _APS_NEXT_COMMAND_VALUE 32771 | ||
#define _APS_NEXT_CONTROL_VALUE 1013 | ||
#define _APS_NEXT_SYMED_VALUE 110 | ||
#endif | ||
#endif |
Oops, something went wrong.