git.stg.codes
/
stg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Empty lines removed from the end of scriptexecuter.h
[stg.git]
/
projects
/
sgconf_xml
/
Makefile
diff --git
a/projects/sgconf_xml/Makefile
b/projects/sgconf_xml/Makefile
index d0a5550c24da10d7113da7313625b21e3523506a..752f05a5f6c4a43a419c499c76f3675481e29bd5 100644
(file)
--- a/
projects/sgconf_xml/Makefile
+++ b/
projects/sgconf_xml/Makefile
@@
-9,10
+9,10
@@
PROG = sgconf_xml
SRCS = ./main.cpp \
./parser.cpp
SRCS = ./main.cpp \
./parser.cpp
-LIBS = -lconffiles \
- -lstg
_
crypto \
- -lstg
_
common \
- -lsrvconf
+LIBS = -l
stg
conffiles \
+ -lstgcrypto \
+ -lstgcommon \
+ -ls
tgs
rvconf
LIBS += -lexpat \
$(LIB_THREAD)
LIBS += -lexpat \
$(LIB_THREAD)
@@
-49,8
+49,8
@@
all: libs $(PROG) ../../Makefile.conf
libs:
$(MAKE) -C $(DIR_LIBSRC)
libs:
$(MAKE) -C $(DIR_LIBSRC)
-$(PROG): $(OBJS) $(LIBS)
- $(CC) $^ $(LDFLAGS) -o $(PROG)
+$(PROG): $(OBJS) $(
STG
LIBS)
+ $(CC) $^ $(L
IBS) $(L
DFLAGS) -o $(PROG)
clean:
rm -f deps $(PROG) *.o tags *.*~ .OS
clean:
rm -f deps $(PROG) *.o tags *.*~ .OS
@@
-69,19
+69,11
@@
install-bin:
install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
$(MAKE) -C $(DIR_LIBSRC) install
install -m $(BIN_MODE) -o $(OWNER) -s $(PROG) $(PREFIX)/usr/sbin/$(PROG)
$(MAKE) -C $(DIR_LIBSRC) install
-install-data:
- # Install etc
- install -m $(DATA_MODE) -o $(OWNER) -D $(ETC_DIR)/sgconf.conf $(PREFIX)/etc/stargazer/sgconf.conf
-
uninstall: uninstall-bin uninstall-data
uninstall-bin:
rm -f $(PREFIX)/usr/sbin/$(PROG)
uninstall: uninstall-bin uninstall-data
uninstall-bin:
rm -f $(PREFIX)/usr/sbin/$(PROG)
-uninstall-data:
- # Uninstall etc
- rm -f $(PREFIX)/etc/stargazer/sgconf.conf
-
ifneq ($(MAKECMDGOALS),distclean)
ifneq ($(MAKECMDGOALS),clean)
ifneq ($(MAKECMDGOALS),distclean)
ifneq ($(MAKECMDGOALS),clean)
@@
-95,8
+87,8
@@
deps: $(SRCS) ../../Makefile.conf
$(MAKE) -C $(DIR_LIBSRC) includes
@>deps ;\
for file in $(SRCS); do\
$(MAKE) -C $(DIR_LIBSRC) includes
@>deps ;\
for file in $(SRCS); do\
- echo "`$(CC) $(CFLAGS) $(SEARCH_DIRS) -MM $$file` Makefile" >> deps ;\
- echo -e '\t$$(CC) -c $$< $(CFLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
+ echo "`$(CC) $(C
XX
FLAGS) $(SEARCH_DIRS) -MM $$file` Makefile" >> deps ;\
+ echo -e '\t$$(CC) -c $$< $(C
XX
FLAGS) $(SEARCH_DIRS) $(DEFS)' >> deps ;\
done
done