2007-12-21 16:36:06 +01:00
GTK_FLAGS = ` pkg-config gtk+-2.0 --cflags`
GTK_LIBS = ` pkg-config gtk+-2.0 --libs`
2007-12-21 16:02:35 +01:00
KRB5LIBS = @KRB5_LIBS@
LDAP_LIBS = @LDAP_LIBS@
2008-02-29 02:49:27 +01:00
LIBS = @LIBS@ -lnetapi -ltdb -ltalloc
2007-12-21 16:02:35 +01:00
DEVELOPER_CFLAGS = @DEVELOPER_CFLAGS@
2008-09-17 18:05:35 +02:00
CCFLAGS = -I../ -L../../../bin @CFLAGS@ $( GTK_FLAGS)
2007-12-21 16:02:35 +01:00
CC = @CC@
2008-03-05 13:20:32 +01:00
PICFLAG = @PICFLAG@
2007-12-21 16:02:35 +01:00
LDFLAGS = @PIE_LDFLAGS@ @LDFLAGS@
DYNEXP = @DYNEXP@
2008-04-08 14:34:30 +02:00
NETAPI_LIBS = $( LIBS) $( KRB5LIBS) $( LDAP_LIBS)
CMDLINE_LIBS = $( NETAPI_LIBS) @POPTLIBS@
2007-12-21 16:02:35 +01:00
# Compile a source file.
2008-09-17 18:05:35 +02:00
COMPILE_CC = $( CC) -I. $( CCFLAGS) $( PICFLAG) -c $< -o $@
2007-12-21 16:02:35 +01:00
COMPILE = $( COMPILE_CC)
2008-02-29 02:49:27 +01:00
PROGS = bin/getdc@EXEEXT@ \
2008-04-08 18:45:26 +02:00
bin/dsgetdc@EXEEXT@ \
2008-02-29 02:49:27 +01:00
bin/netdomjoin@EXEEXT@ \
bin/netdomjoin-gui@EXEEXT@ \
2008-04-09 13:28:30 +02:00
bin/getjoinableous@EXEEXT@ \
2008-09-02 13:18:32 +02:00
bin/rename_machine@EXEEXT@ \
2008-04-09 13:38:39 +02:00
bin/user_add@EXEEXT@ \
2008-04-09 13:50:30 +02:00
bin/user_del@EXEEXT@ \
2008-04-13 19:15:15 +02:00
bin/user_enum@EXEEXT@ \
2008-05-28 14:56:45 +02:00
bin/user_dispinfo@EXEEXT@ \
2008-06-25 00:47:17 +02:00
bin/user_chgpwd@EXEEXT@ \
2008-07-16 10:59:53 +02:00
bin/user_getinfo@EXEEXT@ \
2008-07-18 02:23:29 +02:00
bin/user_setinfo@EXEEXT@ \
2008-07-31 17:39:07 +02:00
bin/user_modalsget@EXEEXT@ \
bin/user_modalsset@EXEEXT@ \
2008-08-27 13:14:24 +02:00
bin/user_getgroups@EXEEXT@ \
2008-09-05 17:01:23 +02:00
bin/user_setgroups@EXEEXT@ \
2008-09-09 14:48:06 +02:00
bin/user_getlocalgroups@EXEEXT@ \
2008-05-29 01:43:52 +02:00
bin/group_add@EXEEXT@ \
2008-06-02 12:59:30 +02:00
bin/group_del@EXEEXT@ \
2008-07-01 20:12:43 +02:00
bin/group_enum@EXEEXT@ \
2008-06-02 13:07:02 +02:00
bin/group_setinfo@EXEEXT@ \
2008-06-02 14:48:45 +02:00
bin/group_getinfo@EXEEXT@ \
2008-06-02 14:58:43 +02:00
bin/group_adduser@EXEEXT@ \
2008-06-02 19:13:26 +02:00
bin/group_deluser@EXEEXT@ \
2008-07-19 00:10:58 +02:00
bin/group_getusers@EXEEXT@ \
2008-09-05 17:05:49 +02:00
bin/group_setusers@EXEEXT@ \
2008-06-02 19:46:04 +02:00
bin/localgroup_add@EXEEXT@ \
2008-06-02 20:28:31 +02:00
bin/localgroup_del@EXEEXT@ \
2008-06-02 22:37:03 +02:00
bin/localgroup_getinfo@EXEEXT@ \
2008-06-17 13:18:02 +02:00
bin/localgroup_setinfo@EXEEXT@ \
2008-07-18 01:41:30 +02:00
bin/localgroup_enum@EXEEXT@ \
2008-08-01 16:03:00 +02:00
bin/localgroup_addmembers@EXEEXT@ \
2008-08-01 17:13:43 +02:00
bin/localgroup_delmembers@EXEEXT@ \
2008-08-01 19:15:52 +02:00
bin/localgroup_setmembers@EXEEXT@ \
2008-08-12 12:49:19 +02:00
bin/localgroup_getmembers@EXEEXT@ \
2008-08-28 01:02:42 +02:00
bin/remote_tod@EXEEXT@ \
2008-09-01 17:45:42 +02:00
bin/server_getinfo@EXEEXT@ \
2008-08-29 18:38:01 +02:00
bin/share_add@EXEEXT@ \
2008-08-29 19:06:43 +02:00
bin/share_del@EXEEXT@ \
2008-09-04 16:18:32 +02:00
bin/share_enum@EXEEXT@ \
2008-09-04 20:12:56 +02:00
bin/share_getinfo@EXEEXT@ \
2008-09-09 19:37:17 +02:00
bin/share_setinfo@EXEEXT@ \
2008-09-09 21:56:29 +02:00
bin/file_close@EXEEXT@ \
2008-09-09 22:17:00 +02:00
bin/file_getinfo@EXEEXT@ \
bin/file_enum@EXEEXT@
2008-02-29 02:49:27 +01:00
all : $( PROGS )
2007-12-21 17:05:55 +01:00
MAKEDIR = || exec false; \
if test -d " $$ dir " ; then :; else \
echo mkdir " $$ dir " ; \
mkdir -p " $$ dir " >/dev/null 2>& 1 || \
test -d " $$ dir " || \
mkdir " $$ dir " || \
exec false; fi || exec false
2008-02-29 02:49:27 +01:00
BINARY_PREREQS = bin/.dummy
bin/.dummy :
@if ( : >> $@ || : > $@ ) >/dev/null 2>& 1; then :; else \
dir = bin $( MAKEDIR) ; fi
@: >> $@ || : > $@ # what a fancy emoticon!
2007-12-21 16:02:35 +01:00
.c.o :
@if ( : >> $@ || : > $@ ) >/dev/null 2>& 1; then rm -f $@ ; else \
dir = ` echo $@ | sed 's,/[^/]*$$,,;s,^$$,.,' ` $( MAKEDIR) ; fi
@echo Compiling $* .c
@$( COMPILE) && exit 0; \
echo "The following command failed:" 1>& 2; \
echo " $( COMPILE_CC) " 1>& 2; \
$( COMPILE_CC) >/dev/null 2>& 1
2008-04-08 14:34:30 +02:00
CMDLINE_OBJ = common.o
GETDC_OBJ = getdc/getdc.o $( CMDLINE_OBJ)
2008-04-08 18:45:26 +02:00
DSGETDC_OBJ = dsgetdc/dsgetdc.o $( CMDLINE_OBJ)
2008-09-02 13:24:51 +02:00
NETDOMJOIN_OBJ = join/netdomjoin.o $( CMDLINE_OBJ)
2007-12-21 17:05:55 +01:00
NETDOMJOIN_GUI_OBJ = netdomjoin-gui/netdomjoin-gui.o
2008-09-02 13:24:51 +02:00
GETJOINABLEOUS_OBJ = join/getjoinableous.o $( CMDLINE_OBJ)
2008-09-02 13:18:32 +02:00
RENAMEMACHINE_OBJ = join/rename_machine.o $( CMDLINE_OBJ)
2008-04-09 13:28:30 +02:00
USERADD_OBJ = user/user_add.o $( CMDLINE_OBJ)
2008-04-09 13:38:39 +02:00
USERDEL_OBJ = user/user_del.o $( CMDLINE_OBJ)
2008-04-09 13:50:30 +02:00
USERENUM_OBJ = user/user_enum.o $( CMDLINE_OBJ)
2008-04-13 19:15:15 +02:00
USERDISPINFO_OBJ = user/user_dispinfo.o $( CMDLINE_OBJ)
2008-06-25 00:47:17 +02:00
USERCHGPWD_OBJ = user/user_chgpwd.o $( CMDLINE_OBJ)
2008-07-16 10:59:53 +02:00
USERGETINFO_OBJ = user/user_getinfo.o $( CMDLINE_OBJ)
2008-07-18 02:23:29 +02:00
USERSETINFO_OBJ = user/user_setinfo.o $( CMDLINE_OBJ)
2008-07-31 17:39:07 +02:00
USERMODALSGET_OBJ = user/user_modalsget.o $( CMDLINE_OBJ)
USERMODALSSET_OBJ = user/user_modalsset.o $( CMDLINE_OBJ)
2008-08-27 13:14:24 +02:00
USERGETGROUPS_OBJ = user/user_getgroups.o $( CMDLINE_OBJ)
2008-09-05 17:01:23 +02:00
USERSETGROUPS_OBJ = user/user_setgroups.o $( CMDLINE_OBJ)
2008-09-09 14:48:06 +02:00
USERGETLOCALGROUPS_OBJ = user/user_getlocalgroups.o $( CMDLINE_OBJ)
2008-05-28 14:56:45 +02:00
GROUPADD_OBJ = group/group_add.o $( CMDLINE_OBJ)
2008-05-29 01:43:52 +02:00
GROUPDEL_OBJ = group/group_del.o $( CMDLINE_OBJ)
2008-07-01 20:12:43 +02:00
GROUPENUM_OBJ = group/group_enum.o $( CMDLINE_OBJ)
2008-06-02 12:59:30 +02:00
GROUPSETINFO_OBJ = group/group_setinfo.o $( CMDLINE_OBJ)
2008-06-02 13:07:02 +02:00
GROUPGETINFO_OBJ = group/group_getinfo.o $( CMDLINE_OBJ)
2008-06-02 14:48:45 +02:00
GROUPADDUSER_OBJ = group/group_adduser.o $( CMDLINE_OBJ)
2008-06-02 14:58:43 +02:00
GROUPDELUSER_OBJ = group/group_deluser.o $( CMDLINE_OBJ)
2008-07-19 00:10:58 +02:00
GROUPGETUSERS_OBJ = group/group_getusers.o $( CMDLINE_OBJ)
2008-09-05 17:05:49 +02:00
GROUPSETUSERS_OBJ = group/group_setusers.o $( CMDLINE_OBJ)
2008-06-02 19:13:26 +02:00
LOCALGROUPADD_OBJ = localgroup/localgroup_add.o $( CMDLINE_OBJ)
2008-06-02 19:46:04 +02:00
LOCALGROUPDEL_OBJ = localgroup/localgroup_del.o $( CMDLINE_OBJ)
2008-06-02 20:28:31 +02:00
LOCALGROUPGETINFO_OBJ = localgroup/localgroup_getinfo.o $( CMDLINE_OBJ)
2008-06-02 22:37:03 +02:00
LOCALGROUPSETINFO_OBJ = localgroup/localgroup_setinfo.o $( CMDLINE_OBJ)
2008-07-18 01:41:30 +02:00
LOCALGROUPENUM_OBJ = localgroup/localgroup_enum.o $( CMDLINE_OBJ)
2008-08-01 16:03:00 +02:00
LOCALGROUPADDMEMBERS_OBJ = localgroup/localgroup_addmembers.o $( CMDLINE_OBJ)
2008-08-01 17:13:43 +02:00
LOCALGROUPDELMEMBERS_OBJ = localgroup/localgroup_delmembers.o $( CMDLINE_OBJ)
2008-08-01 19:15:52 +02:00
LOCALGROUPSETMEMBERS_OBJ = localgroup/localgroup_setmembers.o $( CMDLINE_OBJ)
2008-08-12 12:49:19 +02:00
LOCALGROUPGETMEMBERS_OBJ = localgroup/localgroup_getmembers.o $( CMDLINE_OBJ)
2008-06-17 13:18:02 +02:00
REMOTETOD_OBJ = server/remote_tod.o $( CMDLINE_OBJ)
2008-09-01 17:45:42 +02:00
SERVERGETINFO_OBJ = server/server_getinfo.o $( CMDLINE_OBJ)
2008-08-28 01:02:42 +02:00
SHAREADD_OBJ = share/share_add.o $( CMDLINE_OBJ)
2008-08-29 18:38:01 +02:00
SHAREDEL_OBJ = share/share_del.o $( CMDLINE_OBJ)
2008-08-29 19:06:43 +02:00
SHAREENUM_OBJ = share/share_enum.o $( CMDLINE_OBJ)
2008-09-04 16:18:32 +02:00
SHAREGETINFO_OBJ = share/share_getinfo.o $( CMDLINE_OBJ)
2008-09-04 20:12:56 +02:00
SHARESETINFO_OBJ = share/share_setinfo.o $( CMDLINE_OBJ)
2008-09-09 19:37:17 +02:00
FILECLOSE_OBJ = file/file_close.o $( CMDLINE_OBJ)
2008-09-09 21:56:29 +02:00
FILEGETINFO_OBJ = file/file_getinfo.o $( CMDLINE_OBJ)
2008-09-09 22:17:00 +02:00
FILEENUM_OBJ = file/file_enum.o $( CMDLINE_OBJ)
2007-12-21 16:02:35 +01:00
2008-02-29 02:49:27 +01:00
bin/getdc@EXEEXT@ : $( BINARY_PREREQS ) $( GETDC_OBJ )
2007-12-21 16:02:35 +01:00
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GETDC_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2007-12-21 16:02:35 +01:00
2008-04-08 18:45:26 +02:00
bin/dsgetdc@EXEEXT@ : $( BINARY_PREREQS ) $( DSGETDC_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( DSGETDC_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-04-08 18:45:26 +02:00
2008-02-29 02:49:27 +01:00
bin/getjoinableous@EXEEXT@ : $( BINARY_PREREQS ) $( GETJOINABLEOUS_OBJ )
2008-01-18 02:50:33 +01:00
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GETJOINABLEOUS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-01-18 02:50:33 +01:00
2008-09-02 13:18:32 +02:00
bin/rename_machine@EXEEXT@ : $( BINARY_PREREQS ) $( RENAMEMACHINE_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( RENAMEMACHINE_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-02 13:18:32 +02:00
2008-02-29 02:49:27 +01:00
bin/netdomjoin@EXEEXT@ : $( BINARY_PREREQS ) $( NETDOMJOIN_OBJ )
2007-12-21 16:08:13 +01:00
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( NETDOMJOIN_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2007-12-21 16:08:13 +01:00
2008-02-29 02:49:27 +01:00
bin/netdomjoin-gui@EXEEXT@ : $( BINARY_PREREQS ) $( NETDOMJOIN_GUI_OBJ )
2007-12-21 16:36:06 +01:00
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) $( GTK_FLAGS) -o $@ $( NETDOMJOIN_GUI_OBJ) $( LDFLAGS) $( DYNEXP) $( LIBS) $( KRB5LIBS) $( LDAP_LIBS) $( GTK_LIBS)
2007-12-21 16:36:06 +01:00
2008-04-09 13:28:30 +02:00
bin/user_add@EXEEXT@ : $( BINARY_PREREQS ) $( USERADD_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERADD_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-04-09 13:28:30 +02:00
2008-04-09 13:38:39 +02:00
bin/user_del@EXEEXT@ : $( BINARY_PREREQS ) $( USERDEL_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERDEL_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-04-09 13:38:39 +02:00
2008-04-09 13:50:30 +02:00
bin/user_enum@EXEEXT@ : $( BINARY_PREREQS ) $( USERENUM_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERENUM_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-04-09 13:50:30 +02:00
2008-04-13 19:15:15 +02:00
bin/user_dispinfo@EXEEXT@ : $( BINARY_PREREQS ) $( USERDISPINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERDISPINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-04-13 19:15:15 +02:00
2008-06-25 00:47:17 +02:00
bin/user_chgpwd@EXEEXT@ : $( BINARY_PREREQS ) $( USERCHGPWD_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERCHGPWD_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-07-16 10:59:53 +02:00
bin/user_getinfo@EXEEXT@ : $( BINARY_PREREQS ) $( USERGETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERGETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-07-18 02:23:29 +02:00
bin/user_setinfo@EXEEXT@ : $( BINARY_PREREQS ) $( USERSETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERSETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-25 00:47:17 +02:00
2008-07-31 17:39:07 +02:00
bin/user_modalsget@EXEEXT@ : $( BINARY_PREREQS ) $( USERMODALSGET_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERMODALSGET_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-07-31 17:39:07 +02:00
bin/user_modalsset@EXEEXT@ : $( BINARY_PREREQS ) $( USERMODALSSET_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERMODALSSET_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-07-31 17:39:07 +02:00
2008-08-27 13:14:24 +02:00
bin/user_getgroups@EXEEXT@ : $( BINARY_PREREQS ) $( USERGETGROUPS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERGETGROUPS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-05 17:01:23 +02:00
bin/user_setgroups@EXEEXT@ : $( BINARY_PREREQS ) $( USERSETGROUPS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERSETGROUPS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-27 13:14:24 +02:00
2008-09-09 14:48:06 +02:00
bin/user_getlocalgroups@EXEEXT@ : $( BINARY_PREREQS ) $( USERGETLOCALGROUPS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( USERGETLOCALGROUPS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-09 14:48:06 +02:00
2008-05-28 14:56:45 +02:00
bin/group_add@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPADD_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPADD_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-05-28 14:56:45 +02:00
2008-05-29 01:43:52 +02:00
bin/group_del@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPDEL_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPDEL_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-05-29 01:43:52 +02:00
2008-07-01 20:12:43 +02:00
bin/group_enum@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPENUM_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPENUM_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-07-01 20:12:43 +02:00
2008-06-02 12:59:30 +02:00
bin/group_setinfo@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPSETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPSETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 12:59:30 +02:00
2008-06-02 13:07:02 +02:00
bin/group_getinfo@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPGETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPGETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 13:07:02 +02:00
2008-06-02 14:48:45 +02:00
bin/group_adduser@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPADDUSER_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPADDUSER_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 14:48:45 +02:00
2008-06-02 14:58:43 +02:00
bin/group_deluser@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPDELUSER_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPDELUSER_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 14:58:43 +02:00
2008-07-19 00:10:58 +02:00
bin/group_getusers@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPGETUSERS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPGETUSERS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-07-19 00:10:58 +02:00
2008-09-05 17:05:49 +02:00
bin/group_setusers@EXEEXT@ : $( BINARY_PREREQS ) $( GROUPSETUSERS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( GROUPSETUSERS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-05 17:05:49 +02:00
2008-06-02 19:13:26 +02:00
bin/localgroup_add@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPADD_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPADD_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 19:13:26 +02:00
2008-06-02 19:46:04 +02:00
bin/localgroup_del@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPDEL_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPDEL_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 19:46:04 +02:00
2008-06-02 20:28:31 +02:00
bin/localgroup_getinfo@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPGETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPGETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 20:28:31 +02:00
2008-06-02 22:37:03 +02:00
bin/localgroup_setinfo@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPSETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPSETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-02 22:37:03 +02:00
2008-07-18 01:41:30 +02:00
bin/localgroup_enum@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPENUM_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPENUM_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-07-18 01:41:30 +02:00
2008-08-01 16:03:00 +02:00
bin/localgroup_addmembers@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPADDMEMBERS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPADDMEMBERS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-01 16:03:00 +02:00
2008-08-01 17:13:43 +02:00
bin/localgroup_delmembers@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPDELMEMBERS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPDELMEMBERS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-01 17:13:43 +02:00
2008-08-01 19:15:52 +02:00
bin/localgroup_setmembers@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPSETMEMBERS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPSETMEMBERS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-01 19:15:52 +02:00
2008-08-12 12:49:19 +02:00
bin/localgroup_getmembers@EXEEXT@ : $( BINARY_PREREQS ) $( LOCALGROUPGETMEMBERS_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( LOCALGROUPGETMEMBERS_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-12 12:49:19 +02:00
2008-06-17 13:18:02 +02:00
bin/remote_tod@EXEEXT@ : $( BINARY_PREREQS ) $( REMOTETOD_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( REMOTETOD_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-06-17 13:18:02 +02:00
2008-09-01 17:45:42 +02:00
bin/server_getinfo@EXEEXT@ : $( BINARY_PREREQS ) $( SERVERGETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( SERVERGETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-01 17:45:42 +02:00
2008-08-28 01:02:42 +02:00
bin/share_add@EXEEXT@ : $( BINARY_PREREQS ) $( SHAREADD_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( SHAREADD_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-28 01:02:42 +02:00
2008-08-29 18:38:01 +02:00
bin/share_del@EXEEXT@ : $( BINARY_PREREQS ) $( SHAREDEL_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( SHAREDEL_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-29 18:38:01 +02:00
2008-08-29 19:06:43 +02:00
bin/share_enum@EXEEXT@ : $( BINARY_PREREQS ) $( SHAREENUM_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( SHAREENUM_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-08-29 19:06:43 +02:00
2008-09-04 16:18:32 +02:00
bin/share_getinfo@EXEEXT@ : $( BINARY_PREREQS ) $( SHAREGETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( SHAREGETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-04 16:18:32 +02:00
2008-09-04 20:12:56 +02:00
bin/share_setinfo@EXEEXT@ : $( BINARY_PREREQS ) $( SHARESETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( SHARESETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-04 20:12:56 +02:00
2008-09-09 19:37:17 +02:00
bin/file_close@EXEEXT@ : $( BINARY_PREREQS ) $( FILECLOSE_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( FILECLOSE_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-09 19:37:17 +02:00
2008-09-09 21:56:29 +02:00
bin/file_getinfo@EXEEXT@ : $( BINARY_PREREQS ) $( FILEGETINFO_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( FILEGETINFO_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-09 21:56:29 +02:00
2008-09-09 22:17:00 +02:00
bin/file_enum@EXEEXT@ : $( BINARY_PREREQS ) $( FILEENUM_OBJ )
@echo Linking $@
2008-09-17 18:05:35 +02:00
@$( CC) $( CCFLAGS) -o $@ $( FILEENUM_OBJ) $( LDFLAGS) $( DYNEXP) $( CMDLINE_LIBS)
2008-09-09 22:17:00 +02:00
2007-12-21 16:02:35 +01:00
clean :
2008-01-18 02:50:33 +01:00
-rm -f $( PROGS)
-rm -f core */*~ *~ \
2008-02-29 02:49:27 +01:00
*/*.o */*/*.o */*/*/*.o