]> git.stg.codes - stg.git/blobdiff - include/Makefile
Fix build on Darwin.
[stg.git] / include / Makefile
index 416f82d97c47fe69049450bf828ab60940f82c71..e8fbe640a1087887263992df8a44503817be887c 100644 (file)
@@ -1,14 +1,45 @@
-###############################################################################
-# $Id: Makefile,v 1.2 2005/10/11 12:18:55 nobunaga Exp $
-###############################################################################
+include ../Makefile.conf
 
 
-#LIB_NAME = includes
+INCS = stg/admin_conf.h \
+       stg/admin_conf.inc.h \
+       stg/admin.h \
+       stg/admins.h \
+       stg/auth.h \
+       stg/const.h \
+       stg/corp_conf.h \
+       stg/corporations.h \
+       stg/ia_packets.h \
+       stg/message.h \
+       stg/module_settings.h \
+       stg/noncopyable.h \
+       stg/notifer.h \
+       stg/os_int.h \
+       stg/plugin.h \
+       stg/plugin_creator.h \
+       stg/rad_packets.h \
+       stg/raw_ip_packet.h \
+       stg/resetable.h \
+       stg/rs_packets.h \
+       stg/service_conf.h \
+       stg/services.h \
+       stg/settings.h \
+       stg/store.h \
+       stg/tariff_conf.h \
+       stg/tariff.h \
+       stg/tariffs.h \
+       stg/traffcounter.h \
+       stg/user_conf.h \
+       stg/user.h \
+       stg/user_ips.h \
+       stg/user_property.h \
+       stg/users.h \
+       stg/user_stat.h \
+       stg/user_traff.h \
+       stg/utime.h \
+       stg/version.h
 
 
-#INCS = *.h
-#include ../Makefile.in
+install: install-bin
 
 
-all:
-       echo hi
-
-install:
-       echo install
\ No newline at end of file
+install-bin:
+       mkdir -m $(DIR_MODE) -p $(PREFIX)/usr/include/stg
+       install -m $(DATA_MODE) -o $(OWNER) $(INCS) $(PREFIX)/usr/include/stg/